﻿<extend name="Public:base" />
<block name="title"><title>个人信息</title></block>
<block name="header_styles">
    <style type="text/css">
        body {
            background-color: #efefde;
        }
    </style>
</block>
<block name="main">
    <div class="row">
        <div class="col-xs-3">
            <div class="column-sidebar">
                <include file="Person:sidebar" />
            </div>
        </div>
        <div class="col-xs-9">
            <div class="column-main">
                <div class="section">
                    <div class="section-title">
                        个人介绍
                    </div>
                    <div class="section-content">
                        <p style="line-height: 25px;padding: 10px 0px;">
                        <if condition="$theirinfo.about heq 0">{$theirinfo.about|textFilter=###,1}<elseif condition="$theirinfo.about eq ''"/>未填写<else />{$theirinfo.about|nl2br}</if>
                        </p>
                    </div>
                </div>
                <div class="section">
                    <div class="section-title" style="padding: 0px;">
                        <ul class="nav nav-tabs" style="margin-bottom: -1px;">
                            <li class="active"><a href="#">个人信息</a></li>
                            <li><a href="{:U('Person/works@'.getDomain(),array('uid'=>$theirinfo['uid']))}">作品展示</a></li>
                        </ul>
                    </div>
                    <div class="section-content">
                        <br />
                        <div class="solution-description">
                            <strong>基本信息：</strong><br />
                            <ul style="list-style: none;">
                                <li>当前所在地：{$theirinfo.address}</li>
                                <li>学历：{$theirinfo.xueli|toName}</li>
                                <li>当前职业：{$theirinfo.job}</li>
                                <li>出生日期：<if condition="$theirinfo.birthday eq 0">{$theirinfo.birthday|textFilter=###,1}<else/>{$theirinfo.birthday|datetimeToStr='Y年m月d日',###}</if></li>
                            </ul>
                            <strong>技能描述：</strong><br />
                            &nbsp;&nbsp;&nbsp;<if condition="$theirinfo.jineng heq 0">{$theirinfo.jineng|textFilter=###,1}<elseif condition="$theirinfo.jineng eq ''"/>未填写<else/>{$theirinfo.jineng|nl2br}</if>
                            <br />
                            <strong>教育背景：</strong><br />
                            <if condition="$theirinfo.school heq 0">{$theirinfo.school|textFilter=###,0}<else/>{$theirinfo.school}</if>&nbsp;&nbsp;&nbsp;{$theirinfo.major}&nbsp;&nbsp;&nbsp;{$theirinfo.xueli|toName}<br />
                            <br />
                            <strong>曾就职：</strong><br />
                            <div class="panel-group" id="accordion" role="tablist" aria-multiselectable="true">
                                <if condition="$f_jianli heq 0">
                                    <div class="alert alert-warning">{$theirinfo.jianli|textFilter=###,1}</div>
                                <elseif condition="empty($arrjl)"/>
                                    <div class="alert alert-warning">该用户很懒，未填写履历</div>
                                <else />
                                <volist name="arrjl" id="vo" key="k">
                                    <div class="panel panel-default">
                                        <div class="panel-heading" role="tab" id="heading{$k}">
                                            <a data-toggle="collapse" href="#collapse{$k}" aria-expanded="true" aria-controls="collapse{$k}">
                                                {$vo.company}&nbsp;|&nbsp;{$vo.department}&nbsp;|&nbsp;{$vo.position}
                                            </a>
                                            <span class="pull-right">{$vo.btime} 至 {$vo.etime}</span>
                                        </div>
                                        <div id="collapse{$k}" class="panel-collapse collapse" role="tabpanel" aria-labelledby="heading{$k}">
                                            <div class="panel-body">
                                                {$vo.content|nl2br}
                                            </div>
                                        </div>
                                    </div>
                                </volist>
                                </if>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</block>
